<template>
  <div class="Table">
    <el-table height="100%" :data="tableData" style="width: 100%">
      <el-table-column prop="date" label="编号" width="50"> </el-table-column>
      <el-table-column prop="name" label="区域" width="50"> </el-table-column>
      <el-table-column prop="name" label="设备数量" width="100">
      </el-table-column>
      <el-table-column prop="name" label="在线" width="50"> </el-table-column>
      <el-table-column prop="name" label="离线" width="50"> </el-table-column>
      <el-table-column prop="name" label="告警" width="50"> </el-table-column>
      <el-table-column prop="address" label="更新时间"> </el-table-column>
    </el-table>
  </div>
</template>
<script>
export default {
  name: "Table",
  data() {
    return {
      tableData: [
        {
          date: "2016-05-02",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1518 弄",
        },
        {
          date: "2016-05-04",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1517 弄",
        },
        {
          date: "2016-05-01",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1519 弄",
        },
        {
          date: "2016-05-03",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1516 弄",
        },
      ],
    };
  },
  methods: {},
};
</script>
<style scoped lang='less'>
.Table {
  height: 100%;
  width: 100%;
}
</style>
